<template>
    <div>
        <Form :label-width="118">
            <FormItem label="类型">
                <RadioGroup v-model="formData.type">
                    <Radio label="列表">
                        列表
                    </Radio>
                    <Radio label="单页">
                        单页
                    </Radio>
                </RadioGroup>
            </FormItem>
            <FormItem label="模型名称" required>
                <Input placeholder="请输入模型名称" />
            </FormItem>
            <FormItem v-if="formData.type==='列表'" label="首页模板" required>
                <Select label="home-html">
                    <Option value="home-html">home-html</Option>
                    <Option value="home-video_list">home-video_list</Option>
                </Select>
            </FormItem>
            <FormItem v-if="formData.type==='列表'" label="列表模板" required>
                <Select label="list-html">
                    <Option value="list-html">list-html</Option>
                    <Option value="video_list">video_list</Option>
                </Select>
            </FormItem>
            <FormItem label="详细页模板" required>
                <Select label="datiled-html">
                    <Option value="datiled-html">datiled-html</Option>
                    <Option value="video-html">video-html</Option>
                    <Option value="activity-html">activity-html</Option>
                </Select>
            </FormItem>
            <FormItem label="状态">
                <Switch v-model="formData.status" />
            </FormItem>
        </Form>
    </div>
</template>
<script>
export default {
    name: 'modalName',
    data() {
        return {
            formData: {
                type:'列表',
                status: true
            }
        };
    },
    methods: {},
    mounted() { },
};
</script>
<style lang='less'>
</style>